package com.moonlit.myspring;

/**
 * Created by foreknow on 2021/1/17.
 */
public class Juggler implements Performer{
    private int beanBags = 3;
    public Juggler(){

    }
    //构造器注入
    public Juggler(int beanBags){
        this.beanBags = beanBags;
    }

    @Override
    public void perform() throws Exception {
        System.out.println("Juggler"+beanBags);
    }
}
